@import "../../../../shared/color";

.zr-title-h1 {
	font-weight: normal;
	margin-bottom: 20px;
	
	& > i {
		color: @primary-color;
		font-size: 20px;
	}
}

.ant-drawer.map-container {
	
	.ant-drawer-header{
		padding: 4px 24px;
	}
	
	.sub-text {
		color: @text-color-lighten;
	}
	
	.location-point{
		color: #4e4e4e;
		font-size: 12px;
		margin-left: 4px;
	}
	
	.map-location-text {
		font-size: 12px;
		margin-left: 25px;
	}
	
	.ant-drawer-wrapper-body {
		position: relative;
		
		.map-location-input {
			z-index: 100;
			position: absolute;
			top: 0px;
			right: 50px;
			font-size: 14px;
			padding: 8px;
			color: red;
		}
		
		.ant-drawer-body {
			position: absolute;
			top: 55px;
			bottom: 0px;
			left: 0px;
			right: 0px;
			
			#my-shop-map, #map-loading {
				position: absolute;
				top: 0px;
				bottom: 0px;
				left: 0px;
				right: 0px;
				background-color: #fefefe;
			}
			
			#map-loading {
				display: flex;
				flex-direction: column;
				justify-content: center;
				align-items: center;
			}
		}
	}
}


.my-shop-map {
	width: 600px;
	height: 500px;
}

.my-shop-form {
	display: flex;
	justify-content: flex-start;
	border: 1px solid #e4e4e4;
	border-top: none;
	background-color: #ffffff;
	margin: 0 10px;
	
	& > div {
		width: 750px;
		background-color: #fff;
		padding-right: 120px;
	}
	
	.ant-legacy-form-item-label > label {
		color: rgb(0, 0, 0);
		font-weight: bold;
		padding-right: 20px;
	}
	
	input {
		font-size: 14px;
	}
	
	//错误样式
	.has-error {
		.shop-uploader {
			.ant-upload.ant-upload-select-picture-card {
				background-color: rgba(245, 34, 45, 0.05);
				border-color: @error-color;
			}
		}
	}
	
	.shop-uploader {
		
		.upload-image {
			max-width: 200px;
		}
		
		.ant-upload.ant-upload-select-picture-card {
			width: 174px;
			height: 184px;
			background-color: #fafafa6b;
			transition: all .4s;
			
			&:hover {
				background-color: rgba(0, 105, 255, 0.05);
				border-color: @primary-color;
			}
		}
		
		.ant-upload-text {
			margin-top: 10px;
			color: #757575;
			font-weight: bold;
			transition: all .4s;
		}
		
		i {
			font-size: 54px;
			color: #e0e0e0;
			transition: all .4s;
		}
	}
}

.map-location {
	color: @text-color-lighten;
	cursor: pointer;
	font-size: 18px;
	
	&:hover {
		color: @primary-color;
	}
}

.ant-alert.first-shop-message {
	width: 415px;
	position: relative;
	left: 206px;
	margin-bottom: 10px;
}
